cmake_minimum_required(VERSION 2.8.3)
project(javad_navsat_driver)

find_package(catkin REQUIRED COMPONENTS
  geometry_msgs
  nmea_msgs
  roslint
  rospy
  sensor_msgs
)

catkin_python_setup()
catkin_package()

install(
  PROGRAMS
     nodes/javad_serial_driver
     nodes/javad_topic_driver
     nodes/javad_topic_serial_reader
   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(DIRECTORY launch/
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
  PATTERN ".svn" EXCLUDE
)
install(DIRECTORY cfg/
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/cfg
  PATTERN ".svn" EXCLUDE
)

# Check package for pep8 style, add a test to fail on violations.
roslint_python()

if(CATKIN_ENABLE_TESTING)
  #roslint_add_test()
endif()
